package com.lx.patterns.decorator;

/**
 * @ClassName FastFood
 * @Description: //todo
 * @Author: 落雪
 * @CreateDate: 2025/1/21 21:13
 * @UpdateUser: 落雪
 * @UpdateDate: 2025/1/21 21:13
 * @UpdateRemark:
 * @Version: 1.0
 */
public abstract class FastFood {

    private double price;

    private String desc;

    public FastFood() {
    }

    public FastFood(double price, String desc) {
        this.price = price;
        this.desc = desc;
    }

    public double getPrice() {
        return price;
    }

    public void setPrice(double price) {
        this.price = price;
    }

    public String getDesc() {
        return desc;
    }

    public void setDesc(String desc) {
        this.desc = desc;
    }

    public abstract double cost();
}
